#include "Matrix4x4.h"
#include <memory.h>

Matrix4x4::Matrix4x4(void)
{
	memset(m, 0, sizeof(float) * 16);
}

Matrix4x4::Matrix4x4(float _m[16])
{
	memcpy(m, _m, sizeof(float) * 16);
}

Matrix4x4::~Matrix4x4(void)
{
}

Matrix4x4 Matrix4x4::Identity() {
	float m[16] = {	
		1, 0, 0, 0,
		0, 1, 0, 0,
		0, 0, 1, 0,
		0, 0, 0, 1
	};
	Matrix4x4 identity(m);
	return identity;
}
